<link href="<?php echo Yii::app()->request->baseUrl; ?>/css/style/style_news.css" rel="stylesheet" type="text/css" />
<!--正文start-->
<div class="w_960 o_a">
	<?php $this->renderPartial('/news/sidebar_nav');?>
    <div class="video_detail mt10">
        <div class="content">
        	<h1 class="fs_26 c_green2 t_c"><?php echo $video->zne_title;?></h1>
            <div class="video c_f">
				<!--  视频详细页左边广告A 广告位  160*487 start -->
				<div class="left_adv f_l">
					<?php $adzone = Adzone::model()->getData(69,$cid=0);
						foreach( (array)$adzone['ads'] as $key=>$value){?>
						<?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zdz_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank'))?>
					<?php }?>
				</div>
				<!-- 广告位 end -->
                <div class="center f_l">
                	<embed width="594" height="487" allowfullscreen="true" loop="true" play="true" menu="false" quality="high" wmode="opaque" src="<?php echo $video->zne_video_url;?>" classid="clsid:d27cdb6e-ae6d-11cf-96b8-4445535400000" type="application/x-shockwave-flash"></embed>
                </div>
				<!--  视频详细页右边广告B 广告位  160*487 start -->
				<div class="right_adv f_l">
					<?php $adzone = Adzone::model()->getData(70,$cid=0);
						foreach( (array)$adzone['ads'] as $key=>$value){?>
						<?php echo CHtml::link(CHtml::image($value['zds_file_url'],$value['zdz_desc'],array('height'=>$adzone['zdz_height'],'width'=>$adzone['zdz_width'])),$value['zds_url'],array('target'=>'_blank'))?>
					<?php }?>
				</div>
				<!-- 广告位 end -->
            </div>
            <div class="video_bottom c_f">
            	<div class="tag f_l"><span class="c_999">标签：</span>
				<?php   $tag = str_replace(',', ' ', $video->zt_ids);
                            $tags = explode(' ',$tag);
                            for ($i= 0;$i< count($tags); $i++){
									$tag = Tag::model()->findByPk($tags[$i]);
									$str = $tag->attributes['zt_title'];
                                    echo CHtml::link($str, array('/home/news/video_list/','tag'=>$str)).' ';
                                }?>
				</div>
                <div class="share f_r c_999">
                    <!-- Baidu Button BEGIN -->
                    <div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
                        <span class="f_l shareto">分享到</span>
                        <a class="bds_qzone"></a>
                        <a class="bds_tsina"></a>
                        <a class="bds_tqq"></a>
                        <a class="bds_renren"></a>
                        <span class="bds_more">更多</span>
                    </div>
                    <script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=3904611" ></script>
                    <script type="text/javascript" id="bdshell_js"></script>
                    <script type="text/javascript">
                    document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
                    </script>
                    <!-- Baidu Button END -->
                </div>
            </div>
        </div>
        <div class="video_other ">
            <h2 class="ff_yh fs_18 fw_n c_green2">推荐视频</h2>
                <ul class="c_f">
					<?php foreach($video_commend as $row):?>
                    <li>
                        <div class="c_img"><?php echo CHtml::link(Tool::thumb($row->zne_thumb,160,120,$row->zne_short), array('/home/news/video_detail/', 'id'=>$row->zne_id), array('target'=>_blank));?></div>
                        <p class="title_pro c_999 t_c"><?php echo CHtml::link($row->zne_short, array('/home/news/video_detail/', 'id'=>$row->zne_id));?></p>
                    </li>
					<?php endforeach;?>
                </ul>
            </div> 
		</div>   
</div>
<!--正文end-->